/**
 * ISSG Sony China 2010 
 *
 */
package cn.com.dragonsoftbravo.utils;

/**
 *
 * @copyright Promoters Sell-thru System, ISSG, Sony China 
 * @author Rodger
 * @date 2010-7-16
 *
 */
public class FileNameAnalyzer {

	public static String getFileExtensionName(String filePath){
		int index = filePath.lastIndexOf(".");
		if (index > 0 && index < filePath.length() - 1){
			return filePath.substring(index + 1);
		}
		return null;
	}
}
